﻿using RAP.Framework.Libary.DataSource.Context;
using RAP.Framework.Libary.DataSource.Model;
using RAP.Web.Libary.Common.Model.Session;
using System;
using System.Collections.Generic;
using System.Text;

namespace RAP.Web.Libary.Common.Model
{
	/// <summary>
	/// 查询参数对象接口
	/// </summary>
	public interface IAPIQueryParams : IQueryParams
	{
		/// <summary>
		/// 回话token
		/// </summary>
		string Token { get; set; }

		/// <summary>
		/// 用户id
		/// </summary>
		int UserId { get; }

		/// <summary>
		/// 当前请求所属城市
		/// </summary>
		string CityCode { get; }

		/// <summary>
		/// 是否在控制台输出日志
		/// </summary>
		bool ShowLogs { get; set; }

		/// <summary>
		/// 当前请求的用户回话信息
		/// </summary>
		IUserSession UserSession { get; set; }
	}
}
